package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserInfoRegisterDTO {
    @ApiModelProperty(value = "用户账号",required = true)
    @NotBlank
    private String userNo;

    @ApiModelProperty(value = "姓名",required = true)
    @NotBlank
    private String realName;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank
    private String password;

    @ApiModelProperty(value = "性别 0:女 1:男",required = true)
    @NotNull
    private Integer gender;

    @ApiModelProperty(value = "手机号",required = true)
    @NotBlank
    private String phone;
}
